package com.ichina.chat.vo;

import java.io.Serializable;
import java.util.Date;

public class UserInfo implements Serializable {
	private int userid; // 访客ID
	private Date viewtime; // 访客首次时间
	private Date afterviewtime;		//访客再次访问时间
	private String ip; // 访客IP
	private String comefrom; // 访客首次来自
	private String aftercomefrom; // 第二次再访
	private String address; // 访客地址
	private String urltext; // 访客所访问的地址
	private int countiptotal;		//一个IP访问次数

	public UserInfo() {
	}

	public UserInfo(int countiptotal){
		this.countiptotal=countiptotal;
	}

	public UserInfo(Date viewtime, String ip, String comefrom, String address) {
		this.viewtime = viewtime;
		this.ip = ip;
		this.comefrom = comefrom;
		this.address = address;
	}

	public UserInfo(Date viewtime, String ip, String comefrom, String address,
			String urltext) {
		this.viewtime = viewtime;
		this.ip = ip;
		this.comefrom = comefrom;
		this.address = address;
		this.urltext = urltext;
	}

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	public Date getViewtime() {
		return viewtime;
	}

	public void setViewtime(Date viewtime) {
		this.viewtime = viewtime;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getComefrom() {
		return comefrom;
	}

	public void setComefrom(String comefrom) {
		this.comefrom = comefrom;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getUrltext() {
		return urltext;
	}

	public void setUrltext(String urltext) {
		this.urltext = urltext;
	}

	public String getAftercomefrom() {
		return aftercomefrom;
	}

	public void setAftercomefrom(String aftercomefrom) {
		this.aftercomefrom = aftercomefrom;
	}


	public Date getAfterviewtime() {
		return afterviewtime;
	}


	public void setAfterviewtime(Date afterviewtime) {
		this.afterviewtime = afterviewtime;
	}


	public int getCountiptotal() {
		return countiptotal;
	}


	public void setCountiptotal(int countiptotal) {
		this.countiptotal = countiptotal;
	}

}
